group_df <- tibble(
id = 1:1000,
height = rnorm(1000, 170, 6),
weight = rnorm(1000, 80, 10),
eye_colour = sample(c("Blue", "Green", "Brown", "Grey"),
1000,
replace = T)
)
group_df# A tibble: 1,000 × 4
id height weight eye_colour
<int> <dbl> <dbl> <chr>
1 1 162. 93.9 Green
2 2 184. 78.5 Green
3 3 169. 84.3 Grey
4 4 176. 85.5 Brown
5 5 172. 78.4 Blue
6 6 156. 75.4 Green
7 7 166. 74.4 Blue
8 8 167. 91.5 Blue
9 9 156. 68.2 Green
10 10 175. 80.2 Grey
# ℹ 990 more rows